<template>
	<!--<keep-alive include="['performancequery_keep_alive','ComprehensiveStatistics_high_keep_alive','ComprehensiveStatistics_middle_keep_alive']">-->
    	<router-view></router-view>
    <!--</keep-alive>-->
</template>

<script>
	import { cleansessionstorage,setsessionstorage,getsessionstorage } from '@/components/js/Localstorage'
    export default {
        data() {
            return {

            }
        },
        created() {

	            if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
	                window.location.href = "http://www.hengyiyun.com/wx/"; //手机
	            } else {
//	                window.location.href = "http://www.hengyiyun.com"; //电脑
	            }
        	
        },
        destroyed(){
        	cleansessionstorage();
        }
    }
</script>

<style>

</style>